package com.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: chihaojie
 * @Date: 2019/5/29 16:22
 * @Version 1.0
 * @Note
 */

@ApiModel("资源")
@Data
public class PermissionResourceVO {

    @ApiModelProperty("资源id")
    private Long id;

    @ApiModelProperty("资源名称")
    private String name;
    @ApiModelProperty("资源编码")
    private String code;
    @ApiModelProperty("资源注释")
    private String comment;
    @ApiModelProperty("资源父级id")
    private Long parentId;
    @ApiModelProperty("资源level")
    private Byte level;
    @ApiModelProperty("资源路径")
    private String url;
    @ApiModelProperty("资源方法")
    private String method;

    private Byte status;

    private Date createTime;
    @ApiModelProperty("资源创建人")
    private String created;

    private Date updateTime;

    private String updated;

    @ApiModelProperty("资源序号")
    private Integer sortNum;
}
